package 高级;

import java.io.FileInputStream;
import java.io.FileOutputStream;

public class Zuoye04268 {
    public static void main(String[] args) {
        try {
            FileInputStream a=new FileInputStream ("D:\\java\\12.txt");
            FileOutputStream b=new FileOutputStream("D:\\java作业\\123.txt");
            byte c[]=new byte[a.available()];
            a.read(c);
            a.close();
            b.write(c);
            b.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
